package com.online.shopping.service;

import com.online.shopping.custom.Goods;
import com.online.shopping.pojo.TbGoods;
import com.online.shopping.pojo.TbItem;

import java.util.List;

public interface GoodsService {

	public List<TbGoods> search(TbGoods searchEntity);

	public Goods findOne(Long id);

	public void add(Goods goods);

	public void update(Goods goods);

	public void updateStatus(Long[] goodsIds, String status);

	public 	List<TbItem> findItemListByGoodsIdListAndStatus(Long[] goodsIds, String status);

	public void delete(Long[] ids);
}
